package org.iblink.gui.swing.dnd.flavor;

import java.awt.datatransfer.DataFlavor;

public class CategoryFlavor extends DataFlavor {
  
  private static final String CATEGORYFLAVORTYPE = DataFlavor.javaJVMLocalObjectMimeType +
                               ";class=org.iblink.gui.swing.views.component.CategoryNode";

  public CategoryFlavor() throws ClassNotFoundException {
    super(CATEGORYFLAVORTYPE);
  }
  
  public boolean isCategoryNodeFlavor(DataFlavor flavor) {
    return flavor instanceof CategoryFlavor;
  }
}
